home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
CICA 1993 April
/
CICA MS Windows - April 1993.iso
/
unzipped
/
misc
/
ltmd
/
install.bat
< prev
next >
Wrap
DOS Batch File
|
1990-08-03
|
2KB
|
96 lines
echo off
cls
IF NOT EXIST COMCHECK.EXE GOTO WRONGDSK
IF NOT EXIST PKUNZIP.EXE GOTO WRONGDSK
goto START
:SCRERROR
:WRONGDSK
cls
echo
echo
echo INSTALL must be run from the MouseWare diskette.
echo
echo Insert your MouseWare software disk into drive A
echo At the DOS promp, type A: [ENTER]
echo Then type INSTALL [ENTER]
echo
echo
echo
pause
goto THEEND
:START
cls
echo
echo
echo Running MouseWare Installation Program
echo
mouse nb > nul
if errorlevel 1 goto MSEOTHER
if errorlevel 0 goto DOMWINST
:MSEOTHER
cls
mouse nb ser > nul
if errorlevel 4 goto PS2ERR
if errorlevel 2 goto SERIAL2
if errorlevel 1 goto BUSERR
:DOMWINST
CLICK > nul
mwinst >nul
cls
echo
echo
echo End of MouseWare Installation.
echo
echo Please re-boot your machine now.
echo
echo
goto THEEND
:SERIAL2
cls
a:mouse ser nb 2 >nul
if errorlevel 1 goto SERERR
a:logimenu
a:click
a:mtest
goto THEEND
:BUSERR
cls
echo
echo
echo
echo
echo Your Bus Version mouse is not responding...
echo
echo Please re-check the mouse cable connection
echo and Bus board installation (see Chapter 1, How
echo To Install Your Mouse, in the "Getting Started"
echo booklet).
echo
echo
echo
echo
goto THEEND
:PS2ERR
cls
echo
echo
echo
echo
echo Your Serial-PS/2 mouse is not responding...
echo
echo Please re-check the mouse cable connection.
echo (see Chapter 1, How To Install Your Mouse,
echo in the "Getting Started" booklet).
echo
echo
echo
echo
goto THEEND
:SERERR
a:comcheck
echo
echo
pause
:THEEND
echo on